package com.sparrow.source.persistense;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author bryceyung
 * @since 2024/11/23
 */
@Data
@TableName(value = "ias_face_sync_res")
public class IasFaceSyncRes {

    private Integer userId;

    private Integer faceId;

    private Integer deviceId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "sync_time")
    private Date syncTime;

    private Integer syncResult;

    private String unvResp;

    @TableField(exist = false)
    private Map<Integer,Integer> userFaceIdMap;
}
